package com.pocket.demo.base.consts;

import cn.hutool.core.lang.Assert;

/**
 * @author zhaozhile
 */
public class RedisKeyConst {
    public static final String USER_TOKEN_PREFIX = "user:token:";

    public static String getUserTokenKey(String token) {
        Assert.notBlank(token);
        return USER_TOKEN_PREFIX + token;
    }
}
